package com.initial.service.impl;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.initial.entity.TbCrmEmailRecord;
import com.initial.service.TbCrmEmailRecordService;
import com.initial.mapper.TbCrmEmailRecordMapper;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

/**
* @author 余小年
* @description 针对表【tb_crm_email_record】的数据库操作Service实现
* @createDate 2021-12-14 17:21:59
*/
@Service
public class TbCrmEmailRecordServiceImpl extends ServiceImpl<TbCrmEmailRecordMapper, TbCrmEmailRecord>
    implements TbCrmEmailRecordService{
    @Resource
    private TbCrmEmailRecordMapper tbCrmEmailRecordMapper;
    @Override
    public IPage<TbCrmEmailRecord> selectAllPage(Page<TbCrmEmailRecord> page,Integer userId) {
        IPage<TbCrmEmailRecord> tbCrmEmailRecordIPage = tbCrmEmailRecordMapper.selectAllPage(page,userId);
        return tbCrmEmailRecordIPage;
    }
}




